package org.example.service;

import org.example.mapper.ExampleMapper;
import org.example.model.ExampleModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExampleService {
    @Autowired
    private ExampleMapper exampleMapper;
    public List<ExampleModel> getData(){
        return exampleMapper.selectData();
    }
}
